package cqgans.app.sunao.com.cqgans.common;

import android.os.Environment;

import java.io.File;

import cqgans.app.sunao.com.cqgans.bean.User;
import cqgans.app.sunao.com.cqgans.bean.UserPurchase;

/**
 * Created by sunao on 2017/6/11.
 */

public class AppConstant {
    public static final boolean isDEBUG = false;
    public static final String URL = "http://61.186.220.221:18080/gas";//接口地址
    public static final boolean isHomePage =true;   //false标准版
    public static boolean isCom = false;
    //接口详细地址
    public static final String LOGIN_URL = "/api/appuser/login.html";//登陆接口
    public static final String REGISTER_URL = "/api/appuser/add.html";//注册接口
    public static final String VERSION_GET_URL = "/api/version/get.html";//版本信息接口
    public static final String CHANGE_PASS_URL = "/api/appuser/updatePass.html";//修改密码

    public static final String QUERY_URL = "/api/insured/query.html";//燃气用户查询接口
    public static final String QUERY_BY_CODE_URL = "/api/gasuser/query.html";//燃气用户查询接口
    public static final String QUERY_WEB_URL = "/api/jss/url.html";   //获取产品h5地址
    public static final String PRODUCT_URL = "/api/product/query.html";//产品查询接口
    public static final String RANK_URL = "/api/saleRank/query.html"; // 销售排行
    public static final String PLUGIN_TEMP_FILE_SRC = Environment
            .getExternalStorageDirectory().getAbsolutePath() + "/CQGAS";// 插件缓存数据路径
    public static User user;
    public static UserPurchase account;
    public static final String JSS_URL = "https://m.jssclub.com/auth?";//晶算师鉴权地址
    public static final String JSS_PRODUCTS_URL = "/main/main/index"; //产品列表
    public static final String JSS_ACCOUNT_URL = "/account/center/index";//个人中心
    public static final String JSS_PRODUCT_SHOW_URL = "/product/show/";//产品详情
    public static final String JSS_APP_KEY = "kZaM3D$H";
    public static final String JSS_APP_ID = "2017061500658977";
    public static String TARGET_URL = "";
    public static final String BASE_PATH = Environment.getExternalStorageDirectory().getPath() + File.separator+"CQGAS.APK";



}
